package com.example.blogapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blogapi.domain.MsTag;
import com.example.blogapi.vo.Result;

import java.util.List;

/**
* @author 13723
* @description 针对表【ms_tag】的数据库操作Service
* @createDate 2022-10-20 22:20:01
*/
public interface MsTagService extends IService<MsTag> {
    List<MsTag> getTagsByArticleId(long articleId);

    List<MsTag> getHotTags(int limit);

    Result getAllTags();
}
